SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[LoginHostSelectByUserAndHost]
	@UserId INT,
	@Hostname VARBINARY(MAX)
AS
BEGIN
	SELECT Id, UserId, Hostname, Autologin, DateCreated
	FROM LoginHost
	WHERE UserId = @UserId AND Hostname = @Hostname
END
GO
